package demo2;

import java.util.Arrays;
import java.util.PriorityQueue;

public class Test {
    public static void main(String[] args) {
        int[] array = {65,49,34,25,37,27,19,18,15,28};
        int[] nums ={50,60,20,30,80};
       TestHeap testHeap = new TestHeap();
        testHeap.initElem(array);
        testHeap.createHeap();
        //testHeap.offer(80);
        testHeap.pop();
        System.out.println(Arrays.toString(array));
        //testHeap.createHeap(nums);

        //System.out.println(Arrays.toString(nums));
    }
}
